

$(function(){
			});

function closeLogin(){
	$("#lgmk,#lgkuang,#lgct,#lgife,#xlgct").hide();
	$("#lgife").attr("src","");
}
	
//打开激活引导
function yindaoJihuo(){
    var hv = parseInt($("#jhButton").css("height"));
    var wv = parseInt($("#jhButton").css("width"));
    var lv = $("#jhButton").offset().left;
    var tv = $("#jhButton").offset().top;
    $("#yindao1_1").css("top",(tv-20)+"px");
    $("#yindao1_1").css("left",(lv-435)+"px");
    $("#yindao1_1").show();
    wv = 100;
    if (isIE()){
    	wv = wv-1;
    }
    openYMark3(wv,hv+10,(tv-5),lv-5);
    $("#yindao_toRight").css("left",(lv-95)+"px");
    $("#yindao_toRight").css("top",(tv-17)+"px");
    $("#yindao_toRight").show();
}
    
    function openYMark3(wv,hv,tv,lv){
        var allW = document.body.clientWidth;
        var allH = document.body.clientHeight;
        $("[id^=ydt_]").attr("class","op");
        $("[id^=ydt_]").css("border","0px");
        $("[id^=ydt_1_1]").attr("class","");
        $("#ydt_1_1Div").css("border","1px dashed #D2D2D2");
        $("[id^=ydt_1_1]").css("width",(wv+10)+"px");
        $("[id^=ydt_1_1]").css("height",hv+"px");
        $("[id^=ydt_1_0]").css("width",lv+"px");
        $("#ydt_0_1").css("height",tv+"px");
        $("[id^=ydt_1_2]").css("width",(allW-wv-lv)+"px");
        $("#ydt_2_0").css("height",allH-hv-tv+"px");
        $(".yindaoMaskTb").show();
     }
    
    //---------------斜小图片点击放大------------------开始
    var lastZindex = 0;
    var fangda1;
    var fangda2;
    var fangda3;
    var num1 = 0;
    var num2 = 0;
    var num3 = 0;
    function fangdaFun(id){
        var thisNum = 0;
        if(id==1){thisNum = ++num1;}
        else if(id==2){thisNum = ++num2;}
        else if(id==3){thisNum = ++num3;}
        var obj = $("#minl"+id);
        $(obj).css("width",parseInt($(obj).css("width"))+2);
        $(obj).css("height",parseInt($(obj).css("height"))+2);
        $(obj).css("top",parseInt($(obj).css("top"))-2);
        if(thisNum>=5){
            if(id==1){
                clearInterval(fangda1);
                num1 = 0;
            }else if(id==2){
                clearInterval(fangda2);
                num2 = 0;
            }else if(id==3){
                clearInterval(fangda3);
                num3 = 0;
            }
        }
    }
    function setminl(){
        lv2 = $("#lijitiyanImg").offset().left;
        tv2 = $("#lijitiyanImg").offset().top-80;
        $("#minl1").css("left",lv2-270);
        $("#minl1").css("top",tv2);
        $("#minl1").show();
        $("#minl2").css("left",lv2-350);
        $("#minl2").css("top",tv2);
        $("#minl2").show();
        $("#minl3").css("left",lv2-430);
        $("#minl3").css("top",tv2);
        $("#minl3").show();
    }
	//------------------结束-----------------
